package com.wh.aop.controller;

import com.wh.aop.config.MyAspect;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class TestController2 {
    @MyAspect
    @RequestMapping("/t3")
    public String t3() {
        log.info("执行t3方法...");
        return "t3";
    }
}